package sale.wxb.loveshopping.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface SwaggerDisplayEnum {
    /**
     * 枚举类型
     * @return Class<?>
     */
    Class<? extends Enum> value();

    /**
     * 描述前缀
     * @return String
     */
    String name() default "";
}
